package com.yunhe.tianhe.rentcars.entity.cheliangguanli;

import com.yunhe.tianhe.rentcars.entity.client.Client;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class ZuYong {
    //对应表t_carorder
    private String name;   //姓名
    private long orderId;
    private long carId;
    private long clientId;
    private String mobile;
    private String carCode;
    private double shouldrent;
    private double shouldBasic;
    private double shouldDeposit;
    private double shouldIllegal;
    private  double shouldTimeout;
    private double shouldTotal;
    private double realdisCount;
    private double realrent;
    private double realBasic;
    private double realDeposit;
    private double realIllegal;
    private double realTotal;
    private  double returnTimeout;
    private double returnDamage;
    private double returnIllegal;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date readybtTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date readetTime;
    private Long btrentDept;
    private Long etrentDept;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date realbtTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date realetTime;
   private double realbtOil;
    private double realetOil;
    private double realbtMail;
    private double realetMail;
    private int payWay;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date payTime;
    private Date addTime;
    private int orderSate;
    //附加
    private String rentDays;  //租期
    private String isAutoStr;//自动、手动
    private String carBrand;//品牌
    private String carBrandType; //品牌种类
    private String carColor;  //颜色
    private String engineSize; //排量
    private int seatNum; //座位数

    private String inCity;//所属城市
    private String deptName;//部门名称
    private String address;//详细地址



    public String getIsAutoStr() {
        return isAutoStr;
    }

    public void setIsAutoStr(int isAuto) {
        String isAutoStr=null;
        if (isAuto==1){
            isAutoStr="自动";
        }else {
            isAutoStr="手动";
        }
        this.isAutoStr = isAutoStr;
    }

    public String getCarBrand() {
        return carBrand;
    }

    public void setCarBrand(String carBrand) {
        this.carBrand = carBrand;
    }

    public String getCarBrandType() {
        return carBrandType;
    }

    public void setCarBrandType(String carBrandType) {
        this.carBrandType = carBrandType;
    }

    public String getCarColor() {
        return carColor;
    }

    public void setCarColor(String carColor) {
        this.carColor = carColor;
    }

    public String getEngineSize() {
        return engineSize;
    }

    public void setEngineSize(String engineSize) {
        this.engineSize = engineSize;
    }

    public int getSeatNum() {
        return seatNum;
    }

    public void setSeatNum(int seatNum) {
        this.seatNum = seatNum;
    }

    public String getInCity() {
        return inCity;
    }

    public void setInCity(String inCity) {
        this.inCity = inCity;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRentDays() {
        return rentDays;
    }

    public void setRentDays(String rentDays) {
        this.rentDays = rentDays;
    }

    public String getCarCode() {
        return carCode;
    }

    public void setCarCode(String carCode) {
        this.carCode = carCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public long getClientId() {
        return clientId;
    }

    public void setClientId(long clientId) {
        this.clientId = clientId;
    }

    public long getCarId() {
        return carId;
    }

    public void setCarId(long carId) {
        this.carId = carId;
    }

    public double getShouldrent() {
        return shouldrent;
    }

    public void setShouldrent(double shouldrent) {
        this.shouldrent = shouldrent;
    }

    public double getShouldBasic() {
        return shouldBasic;
    }

    public void setShouldBasic(double shouldBasic) {
        this.shouldBasic = shouldBasic;
    }

    public double getShouldDeposit() {
        return shouldDeposit;
    }

    public void setShouldDeposit(double shouldDeposit) {
        this.shouldDeposit = shouldDeposit;
    }

    public double getShouldIllegal() {
        return shouldIllegal;
    }

    public void setShouldIllegal(double shouldIllegal) {
        this.shouldIllegal = shouldIllegal;
    }

    public double getShouldTimeout() {
        return shouldTimeout;
    }

    public void setShouldTimeout(double shouldTimeout) {
        this.shouldTimeout = shouldTimeout;
    }

    public double getShouldTotal() {
        return shouldTotal;
    }

    public void setShouldTotal(double shouldTotal) {
        this.shouldTotal = shouldTotal;
    }

    public double getRealdisCount() {
        return realdisCount;
    }

    public void setRealdisCount(double realdisCount) {
        this.realdisCount = realdisCount;
    }

    public double getRealrent() {
        return realrent;
    }

    public void setRealrent(double realrent) {
        this.realrent = realrent;
    }

    public double getRealBasic() {
        return realBasic;
    }

    public void setRealBasic(double realBasic) {
        this.realBasic = realBasic;
    }

    public double getRealDeposit() {
        return realDeposit;
    }

    public void setRealDeposit(double realDeposit) {
        this.realDeposit = realDeposit;
    }

    public double getRealIllegal() {
        return realIllegal;
    }

    public void setRealIllegal(double realIllegal) {
        this.realIllegal = realIllegal;
    }

    public double getRealTotal() {
        return realTotal;
    }

    public void setRealTotal(double realTotal) {
        this.realTotal = realTotal;
    }

    public double getReturnTimeout() {
        return returnTimeout;
    }

    public void setReturnTimeout(double returnTimeout) {
        this.returnTimeout = returnTimeout;
    }

    public double getReturnDamage() {
        return returnDamage;
    }

    public void setReturnDamage(double returnDamage) {
        this.returnDamage = returnDamage;
    }

    public double getReturnIllegal() {
        return returnIllegal;
    }

    public void setReturnIllegal(double returnIllegal) {
        this.returnIllegal = returnIllegal;
    }

    public Date getReadybtTime() {
        return readybtTime;
    }

    public void setReadybtTime(Date readybtTime) {
        this.readybtTime = readybtTime;
    }

    public Date getReadetTime() {
        return readetTime;
    }

    public void setReadetTime(Date readetTime) {
        this.readetTime = readetTime;
    }

    public Long getBtrentDept() {
        return btrentDept;
    }

    public void setBtrentDept(Long btrentDept) {
        this.btrentDept = btrentDept;
    }

    public Long getEtrentDept() {
        return etrentDept;
    }

    public void setEtrentDept(Long etrentDept) {
        this.etrentDept = etrentDept;
    }

    public void setIsAutoStr(String isAutoStr) {
        this.isAutoStr = isAutoStr;
    }

    public Date getRealbtTime() {
        return realbtTime;
    }

    public void setRealbtTime(Date realbtTime) {
        this.realbtTime = realbtTime;
    }

    public Date getRealetTime() {
        return realetTime;
    }

    public void setRealetTime(Date realetTime) {
        this.realetTime = realetTime;
    }

    public double getRealbtOil() {
        return realbtOil;
    }

    public void setRealbtOil(double realbtOil) {
        this.realbtOil = realbtOil;
    }

    public double getRealetOil() {
        return realetOil;
    }

    public void setRealetOil(double realetOil) {
        this.realetOil = realetOil;
    }

    public double getRealbtMail() {
        return realbtMail;
    }

    public void setRealbtMail(double realbtMail) {
        this.realbtMail = realbtMail;
    }

    public double getRealetMail() {
        return realetMail;
    }

    public void setRealetMail(double realetMail) {
        this.realetMail = realetMail;
    }

    public int getPayWay() {
        return payWay;
    }

    public void setPayWay(int payWay) {
        this.payWay = payWay;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public int getOrderSate() {
        return orderSate;
    }

    public void setOrderSate(int orderSate) {
        this.orderSate = orderSate;
    }

   
}
